package cn.cs.service;

import cn.cs.common.Dto;
import cn.cs.common.Page;
import cn.cs.pojo.*;

import java.util.List;
import java.util.Map;

public interface WithdrawalPayService {


    public Map<String, String> handleWithdrawalRepairUser(String id) throws Exception;

    public Map<String, String> handleWithdrawalAgent(String id) throws Exception;

    public Map<String, String> handleWithdrawalAgentShop(String id) throws Exception;

    public Integer updateOrderStateAAgent(String id) throws Exception;

    public Integer updateOrderStateBAgent(String id) throws Exception;

    public Integer updateState(String id, String personId) throws Exception;

    public CsPerson findPersonByName(String username) throws Exception;

    public Agent getAgentById(String id) throws Exception;

    public Map<String, Object> getSetPolicyByType(String type) throws Exception;

    public CsProportionSetting getProportionSetting()throws Exception;

    public void dealerSettlement(List<Map<String, String>> list, SettlementDetailed settlementDetailed, CapitalPoolDetails capitalPoolDetails) throws Exception;

    public Page<Map<String,Object>> queryQgTradePageByMap(Map<String, Object> param, Integer pageNo, Integer pageSize)throws Exception;

    public Dto agentHhandleWithdrawalBatch(String ids, String username)throws Exception;

    public Dto agentHhandleWithdrawal(String id, String username)throws Exception;
}
